-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-8950][WebUI] Correct the calculation of SchedulerDelay in StagePage #7319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #36913 has finished for PR 7319 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, is it right to make this 0 before the job is finished? that wasn't the current behavior. What are you trying to make this consistent with?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is the current behavior? If the job isn't finished, totalExecutionTime will be 0, and max(0, 0 - some stuff) = 0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the current result of SchedulerDealy is also 0 for runing tasks. The metrics.executorRunTime is 0 when the task is still running.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use the old line break here? This isn't consistent with the style guide (and easier to read when neither term has a line break in the middle)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. I'll add the line breaks.
|
Test build #36988 has finished for PR 7319 at commit
|
|
Jenkins, retest this please. |
|
Test build #37108 has finished for PR 7319 at commit
|
8cb6ece to
f66fb6e
Compare
|
Test build #37125 has finished for PR 7319 at commit
|
|
LGTM |
…gePage In StagePage, the SchedulerDelay is calculated as totalExecutionTime - executorRunTime - executorOverhead - gettingResultTime. But the totalExecutionTime is calculated in the way that doesn't include the gettingResultTime. Author: Carson Wang <[email protected]> Closes #7319 from carsonwang/SchedulerDelayTime and squashes the following commits: f66fb6e [Carson Wang] Update the code style 7d971ae [Carson Wang] Correct the calculation of SchedulerDelay
|
@carsonwang would you mind closing this? For some reason, it wasn't closed automatically when I merged it into master. |
|
Sure. Thanks @kayousterhout |
…gePage In StagePage, the SchedulerDelay is calculated as totalExecutionTime - executorRunTime - executorOverhead - gettingResultTime. But the totalExecutionTime is calculated in the way that doesn't include the gettingResultTime. Author: Carson Wang <[email protected]> Closes apache#7319 from carsonwang/SchedulerDelayTime and squashes the following commits: f66fb6e [Carson Wang] Update the code style 7d971ae [Carson Wang] Correct the calculation of SchedulerDelay
In StagePage, the SchedulerDelay is calculated as totalExecutionTime - executorRunTime - executorOverhead - gettingResultTime.
But the totalExecutionTime is calculated in the way that doesn't include the gettingResultTime.